package com.yugao.fintech.draper.demos.message;

import com.yugao.fintech.draper.hazelcast.mq.AbstractTopicMessageListener;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class DemoTopicMessageListener extends AbstractTopicMessageListener<DemoTopicMessage> {

	/**
	 * @param message
	 */
	@Override
	public void onMessage(DemoTopicMessage message) {
		log.info("接收到topic消息:{}", message);
	}

}
